package com.hdax.dm.feign;

import com.hdax.dm.common.api.imageControllerApi;
import com.hdax.dm.feign.fallback.imageFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;

/*
*远程调用，我们需要知道，提供者是谁
*提供者：就是nacos的实例名称
*自动集成负载均衡
*
* fallbackFactory:熔断器，报错后进入指定类
* */
@FeignClient(name = "dm-base",fallbackFactory = imageFallbackFactory.class)
public interface imagefeign extends imageControllerApi {

}
